<%--
  @author Kusal Samarakoon
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<div id="calender-schedule-module-title" class="module-home-title">
    <s:a><img src="${pageContext.request.contextPath}/images/calendar-icon.png"
              alt="Calender Schedule"><span><s:label
            value="%{getText('calender_schedule_title.label')}"/></span></s:a>

</div>
<s:if test="#session.userGroup !='admin'">
    <div id="notification-pannel-outer">
        <div id="notification-title">
            <img src="${pageContext.request.contextPath}/images/notification.png" alt="Notification">
            <span>Notifications</span>
        </div>
    </div>
</s:if>
<div id="calender-module-home" class="module-home">

    <ul>
        <li>
            <s:a href="calenderScheduleView.do">
                <img src="${pageContext.request.contextPath}/images/calendar-icon.png" alt="View Calender Schedule">
                    <span>

                        <s:label value="%{getText('calender_schedule_view.label')}"/>
                    </span>
            </s:a>
        </li>
        <s:if test="#session.userGroup=='ormoi'">
        <li>
            <s:a href="calenderScheduleManage.do">
                <img src="${pageContext.request.contextPath}/images/modify-form.png" alt="Manage Calender Schedule">
                    <span>
                        <s:label value="%{getText('calender_schedule_ormoi_schedule.label')}"/>
                    </span>
            </s:a>
        </li>
    </ul>
    </s:if>
</div>